package com.ludomancy.timescape;

import java.awt.Graphics;

public class PlantEntity extends Entity
{
	public PlantEntity(int initialTime, int x, int y)
	{
		super(initialTime, x, y);
	}
	
	public void evolve()
	{
	}
	
	public void paint(Graphics g)
	{
//		if(initialTime == Game.game.currentTime)
		{
			sprites.paint(g, SPRITE_PLANT, tx * Game.TILE_SIZE, ty * Game.TILE_SIZE);
		}
	}

	public void reset()
	{
	}

	public void affectEnvironment()
	{
		Game.game.currentTerrain.mapEnvironment[tx][ty] = Planet.TERRAIN_ENVIRO_GRASS;
	}
}
